﻿#pragma once

#include "ui_MainWindow.h"
#include <QtWidgets/QMainWindow>

class MainWindow : public QMainWindow
{
    Q_OBJECT

  public:
    MainWindow(QWidget *parent = nullptr);

    virtual void resizeEvent(QResizeEvent *event) override;

  public slots:
    /**
     * 命令绑定插槽.
     */
    void CreateCommand();

    /**
     * 常规命名.
     */
    void Open();
    void Save();
    void Clear();

  private:
    Ui::MainWindowClass ui;
};
